/*
 * Powered By zhangyunhua
 * Web Site: http://www.hhk.com 
 * Since 2008 - 2012
 */


package com.khh.garment.basedata.crcy;
import com.khh.garment.basedata.crcy.entity.Crcy;
import java.util.List;

public interface CrcyFactory {

	/**
	 * 新增或修改
	 * @param crcy
	 */
	public void saveCrcy(Crcy crcy);
	

	/**
	 * 逻辑删除
	 * @param crcy
	 */
	public void validCrcy(Crcy penalty);
	
	/**
	 * 删除
	 * @param crcy
	 */
	public void deleteCrcy(Crcy crcy);
	
	/**
	 * 查找
	 * @param 
	 * @return
	 */
	public Crcy findBySN(String crcySN);
	
	/**
	 * 根据原sn查找
	 * @param suppliersn
	 * @return
	 */
	public List<Crcy> findByNo(String crcyno);


}
